package com.gongpingjialoan.bean;

import java.util.Map;

/**
 * Created by Administrator on 2016/8/9.
 */
public class Monitor {
    private String action;
    private String type;
    private long timestamp;
    private float roll_pages;
    private int bannerId;
    private String car_id;

    public String phone;

    public Map<String, Object> map;


    public Monitor(String type, String action, long timestamp, float roll_pages) {
        this.type = type;
        this.action = action;
        this.timestamp = timestamp;
        this.roll_pages = roll_pages;
    }

    public Monitor(String type, String action, long timestamp, float roll_pages, int bannerId) {
        this.type = type;
        this.action = action;
        this.timestamp = timestamp;
        this.roll_pages = roll_pages;
        this.bannerId = bannerId;
    }


    public Monitor(String type, String action, long timestamp, float roll_pages, String car_id, String phone) {
        this.type = type;
        this.action = action;
        this.timestamp = timestamp;
        this.roll_pages = roll_pages;
        this.car_id = car_id;
        this.phone = phone;
    }


    public Monitor(String type, String action, long timestamp, float roll_pages,Map<String,Object> map) {
        this.type = type;
        this.action = action;
        this.timestamp = timestamp;
        this.roll_pages = roll_pages;
        this.map = map;
    }

    public Map<String, Object> getMap() {
        return map;
    }

    public void setMap(Map<String, Object> map) {
        this.map = map;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getCar_id() {
        return car_id;
    }

    public void setCar_id(String car_id) {
        this.car_id = car_id;
    }

    public String getAction() {
        return action;
    }

    public void setAction(String action) {
        this.action = action;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }

    public float getRoll_pages() {
        return roll_pages;
    }

    public void setRoll_pages(float roll_pages) {
        this.roll_pages = roll_pages;
    }

    public int getBannerId() {
        return bannerId;
    }

    public void setBannerId(int bannerId) {
        this.bannerId = bannerId;
    }
}
